import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    // 存储设备和工程信息
    ed:{
      device_id:0,
      engineer_id:0
    }
  },
  getters: {
  },
  mutations: {
    SET_ED:(state,payload)=>{
      state.ed = payload
    }
  },
  actions: {
  },
  modules: {
  }
})
